package com.xzz.mybatis.generator.common;

import lombok.Data;

/**
 * 分页返回对象, 带当页合计，总合计
 */
@Data
public class PagingWithSumResponseData extends PagingResponseData {

    /**合计对象，含当页合计和总合计*/
    private Object sums;

    public PagingWithSumResponseData(){}

    public PagingWithSumResponseData(Long count, Object records, Object sum){

        super(count, records);
        this.sums = sum;
    }
}
